﻿using System;

namespace Cars
{
    public class EntryPoint
    {
        public const int ScreenHeight = 30;
        public const int ScreenWidth = 50;
        public const int FieldWidth = 20;

        static void Main()
        {
            Console.BufferHeight = Console.WindowHeight = EntryPoint.ScreenHeight;
            Console.BufferWidth = Console.WindowWidth = EntryPoint.ScreenWidth;
            Console.CursorVisible = false;

            GameEngine engine = new GameEngine();
            engine.Run();

            Console.Clear();

            Console.WriteLine("GAME OVER");
        }
    }
}


// TODO: Restrict car movement to the field width
// TODO: Implement basic score display
